﻿namespace JawsVS2010Addin
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Runtime.InteropServices;
    using System.Text;

    public class Ole32
    {
        #region Methods

        [DllImport( "Ole32.Dll" )]
        public static extern int CreateBindCtx( int reserved, out UCOMIBindCtx bindCtx );

        [DllImport("oleaut32.dll")]
        public static extern int RegisterActiveObject([MarshalAs(UnmanagedType.IUnknown)] object punk,
            ref Guid rclsid, uint dwFlags, out int pdwRegister);

        #endregion Methods
    }
}